-
-
Notifications
You must be signed in to change notification settings - Fork 5k
update ja docs #1733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update ja docs #1733
Conversation
NOTE: pick up from vuejs@86ca8a9
NOTE: pick up from vuejs@2393f65
docs/ja/essentials/navigation.md
Outdated
@@ -31,18 +31,18 @@ router.push({ name: 'user', params: { userId: 123 }}) | |||
router.push({ path: 'register', query: { plan: 'private' }}) | |||
``` | |||
|
|||
**Note**: `params` are ignored if a `path` is provided, which is not the case for `query`, as shown in the example above. | |||
Instead, you need to provide the `name` of the route or manually specify the whole `path` with any parameter: | |||
**注意**: `params` は、上記例に示すように、`path` が提供されている場合、これは `query` に対するケースとは異なり、無視されます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
query
の話が主題に混じっていて少しわかりづらく感じるので以下のように文を区切ってはどうでしょうか?
params
は、上記例に示すように、path
が提供されている場合は無視されます。これは query
に対するケースとは異なります。
docs/ja/essentials/navigation.md
Outdated
**Note**: `params` are ignored if a `path` is provided, which is not the case for `query`, as shown in the example above. | ||
Instead, you need to provide the `name` of the route or manually specify the whole `path` with any parameter: | ||
**注意**: `params` は、上記例に示すように、`path` が提供されている場合、これは `query` に対するケースとは異なり、無視されます。 | ||
代わりに、ルートの `name` か任意のパラメータで `path` 全体を手動で指定する必要があります: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「任意のパラメータを付与した path
全体」とすると、パラメータとpathの関係がよりわかりやすくなるかなと思いました。
ありがとうございます!修正しました! |
No description provided.